/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package picarocks;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import vista.principal;
import vista.acercade;
import controlador.controlador;

/**
 *
 * @author ruanova
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        /*crear formulario principal contenedor de la aplicacion*/
        principal mainform = new principal();
        
       //Para colocar un skin propio de java
       try {
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
            SwingUtilities.updateComponentTreeUI(mainform);
            new controlador(mainform).go();
        } catch (UnsupportedLookAndFeelException ex) {}
          catch (ClassNotFoundException ex) {}
          catch (InstantiationException ex) {}
          catch (IllegalAccessException ex) {}
    }
}
